package com.chenjf.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "HYSTRIX", fallback = HystrixClientImpl.class)
public interface HystrixClient {

    @GetMapping("/test/test1/{id}")
    String test1(@PathVariable Integer id);

}
